﻿using System;

namespace edowork.com.Model
{
    #region BilltypeInfo

    [Serializable]
    public class BilltypeInfo
    {
        #region Private fields

        protected string _billtype = String.Empty;
        protected string _remark = String.Empty;
        protected int _sortid;
        protected string _types = String.Empty;

        #endregion

        public BilltypeInfo() { }

        #region Public Properties

        public string Billtype
        {
            get { return _billtype; }
            set { _billtype = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public int Sortid
        {
            get { return _sortid; }
            set { _sortid = value; }
        }

        public string Types
        {
            get { return _types; }
            set { _types = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into Billtype(Billtype,Remark,Sortid,Types) values('{0}','{1}',{2},'{3}')";
        }

        #endregion

    }

    #endregion
}

